package com.cskaoyan.config4;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author stone
 * @date 2022/07/15 11:03
 */
@ConfigurationProperties(prefix = "cskaoyan.datasource")
@Component
@Data
public class DataSourceProperties {
    //cskaoyan.datasource.driverClassName
    String driverClassName;
    String url;
    String username;
    String password;
}
